package com.o2o.demo.service;

import java.util.List;


/*
 * restful 风格
 * 所需发布服务接口
*/
public interface UserService {
	//get all
	List<Users>  getAllToXml();
	//get all
	String  getAllToJson();
	//get User by type
	String getUserByType(int type);
	
	String getUserByName(String name);
	
	String validate(String name,String password);
}
